package org.mebusw.struts.davincicode;

import java.io.Serializable;

public class DavinciCard  implements Serializable{
	private boolean isBlack;
	private int value;		//0~11
	private boolean isJoker;
	private int cardId;	//used to identify in JSP, should be 0~25
	private boolean isUncover;


	public boolean isUncover() {
		return isUncover;
	}
	public void setUncover(boolean uncover) {
		this.isUncover = uncover;
	}
	public DavinciCard(boolean black, int value, boolean joker, int cardId) {
		super();
		this.isBlack = black;
		this.value = value;
		this.isJoker = joker;
		this.cardId = cardId;
	}
	public int getCardId() {
		return cardId;
	}
	public void setCardId(int cardId) {
		this.cardId = cardId;
	}
	public boolean isBlack() {
		return isBlack;
	}
	public void setBlack(boolean black) {
		this.isBlack = black;
	}
	public int getValue() {
		return value;
	}
	public void setValue(int value) {
		this.value = value;
	}
	public boolean isJoker() {
		return isJoker;
	}
	public void setJoker(boolean joker) {
		this.isJoker = joker;
	}
}
